package com.run2code;

import org.springframework.beans.factory.BeanNameAware;

// 当实现了BeanNameAware接口时，输出的结果为：ignoredDependencyInterfacesTest
// 否则，输出的结果为：myName
public class IgnoredDependencyInterfacesTest implements BeanNameAware {
//public class IgnoredDependencyInterfacesTest {
    private String beanName = "myName";

    public String getBeanName() {
        return beanName;
    }

    public void setBeanName(String name) {
        this.beanName = name;
    }
}
